package cn.hp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//@EnableAutoConfiguration	//扫描范围：在当前类里
//@ComponentScan(basePackages= {"cn.hp.demo","cn.hp.test"})//添加扫描的范围

@SpringBootApplication	//包扫描的范围：同包或者子包
public class App {

	public static void main(String[] args) {
		//程序的入口
		SpringApplication.run(App.class, args);
	}
}
